/**
 * create by young (young2f@outlook.com) on 2023/4/16
 */
'use strict';
module.exports = app => {
  const {router, controller} = app;
  router.post('/api/material/create', controller.material.create);
  router.post('/api/material/update', controller.material.updateOne);
  router.post('/api/material/store/count/update', controller.material.updateStoreCount);
  router.post('/api/material/delete', controller.material.deleteOne);
  router.post('/api/material/find/many', controller.material.findMany);
  router.post('/api/material/find', controller.material.findOne);

};
